<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>抽象出base</title>
	<script type="text/javascript" src="jquery.js"></script>
</head>
<body>
    <script>
      var a=function(){
      	this.aname="abf";
      }
      var b=function(){}
      b.prototype=new a();
      alert(new b().aname);
    </script>
	<input type="text" id="J_input"/>
</body>
</html>